#ifndef JUNCTION_H
#define JUNCTION_H

#include <QMap>
#include "node.h"
#include "link.h"

class Junction : public Node
{
private:
    QMap<Junction *, Link> neighbours;
public:
    Junction(quint64 id, double latitude = 0.0, double longitude = 0.0, int altitude = 0);
    virtual ~Junction();
    void addNeightbour(Junction * neighbour, Link link);
    const QMap<Junction *, Link> & getNeighbours() const;
};

#endif // JUNCTION_H
